package hx.com.entity;
/***********************************************************************
 * Module:  SuperPackage.java
 * Author:  Wys 2019/1/2
 * Purpose: Defines the Class SuperPackage
 ***********************************************************************/

import java.io.Serializable;
import java.util.*;


public class SuperPackage extends ServicePackage  implements Serializable{

   private static final long serialVersionUID = -4307231821091383079L;
   private int talkTime;
   private int smsCount;
   private int flow;

   public SuperPackage() {
      super(78);
      this.talkTime=200;
      this.smsCount=50;
      this.flow=1024;
   }

   public int getTalkTime() {
      return talkTime;
   }



   public int getSmsCount() {
      return smsCount;
   }


   public int getFlow() {
      return flow;
   }



   @Override
   public void show() {
      System.out.println("套餐名字："+"\t"+"超人套餐");
      System.out.println("通话时长（分钟）："+"\t"+this.getTalkTime());
      System.out.println("上网流量（GB）："+"\t"+this.getFlow()/1024);
      System.out.println("短信条数："+"\t"+this.getSmsCount());
      System.out.println("资费（元/月）："+"\t"+super.getPrice());
   }

   public void showInfo() {
      System.out.println("通话时长："+getTalkTime()+"分钟");
      System.out.println("短信条数："+getSmsCount()+"分钟");
      System.out.println("上网流量："+getFlow()+"GB");
   }
   
   /** @param minCount 
    * @param card
 */
   public void call(int minCount, MobileCard card) {
      // TODO: implement
   }
   
   /** @param count 
    * @param card
     */
   public void send(int count, MobileCard card) {
      // TODO: implement
   }
   
   /** @param flow 
    * @param card
    */
   public void netPlay(int flow, MobileCard card) {
      // TODO: implement
   }

}